Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrections for PIs. #57

Merged
merged 5 commits into from
Mar 8, 2024
Merged

Corrections for PIs. #57

merged 5 commits into from
Mar 8, 2024

Conversation

terribilis
Copy link
Contributor

@terribilis terribilis commented Mar 8, 2024

Corrections for PIs

Added Units to height, weight.
Modified startDate
On Home page did some changes. It now only shows two weeks if we are past week 1.
Also Changed the equation for calculating whether workout 1/2/3 is easy/medium/hard
Corrected function for calculating the current week.
Corrected workoutSelections so it will take in the chosen day and week from workoutHome.

📚 Documentation

This link below seems to be dead.
Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.
You can use this section to describe your solution, but we encourage contributors to document your reasoning and changes using in-line documentation.

✅ Testing

Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.
This section describes important information about the tests and why some elements might not be testable.

📝 Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

…l value. Modified Home page so only shows review of one week if on week 1. Also modified week paramemters to better represent summary view. Modified workout selections to be able to correctly allow for choice of day and week. Corrected function for calculationg current week.
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 9.09091% with 70 lines in your changes are missing coverage. Please review.

Project coverage is 24.39%. Comparing base (70785b5) to head (0835afe).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   23.51%   24.39%   +0.89%     
==========================================
  Files          67       67              
  Lines        3999     3887     -112     
==========================================
+ Hits          940      948       +8     
+ Misses       3059     2939     -120     
Files Coverage Δ
Stronger/Account/Height.swift 0.00% <0.00%> (ø)
Stronger/Account/StartDate.swift 0.00% <0.00%> (ø)
Stronger/ProteinTracker/ChatWindow.swift 4.07% <0.00%> (ø)
Stronger/Account/Weight.swift 0.00% <0.00%> (ø)
Stronger/Exercise/WorkoutHome.swift 5.89% <0.00%> (ø)
Stronger/Info/ExerciseWeek.swift 41.31% <0.00%> (ø)
Stronger/Account/StartDatePicker.swift 0.00% <0.00%> (ø)
Stronger/Exercise/WorkoutSelections.swift 0.00% <0.00%> (ø)
Stronger/Info/SummaryView.swift 44.55% <27.78%> (+1.82%) ⬆️
Stronger/Exercise/WorkoutSelection.swift 60.07% <5.13%> (+0.39%) ⬆️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 70785b5...0835afe. Read the comment docs.

Copy link
Contributor

@tulika-jha tulika-jha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@terribilis terribilis enabled auto-merge (squash) March 8, 2024 20:23
@terribilis terribilis merged commit b5e9ec3 into main Mar 8, 2024
7 checks passed
@terribilis terribilis deleted the piBugFixes branch March 8, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants